package com.jews.common.exception;

import com.jews.common.model.ValidateResult;
import lombok.Getter;

import java.util.List;

/**
 * 参数效验异常
 *
 * @author JewsChen
 * @title: ValidationException
 * @date 2022/11/27 23:11
 */
public class ValidationException extends RuntimeException {
    @Getter
    private List<ValidateResult> results;

    public ValidationException(List<ValidateResult> list) {
        super();
        this.results = list;
    }
}
